Optimal. Leaf size=100 \[ \frac {b^4 p \log \left (a+b \sqrt {x}\right )}{2 a^4}-\frac {b^4 p \log (x)}{4 a^4}-\frac {b^3 p}{2 a^3 \sqrt {x}}+\frac {b^2 p}{4 a^2 x}-\frac {\log \left (c \left (a+b \sqrt {x}\right )^p\right )}{2 x^2}-\frac {b p}{6 a x^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 100, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2454, 2395, 44} \[ -\frac {b^3 p}{2 a^3 \sqrt {x}}+\frac {b^2 p}{4 a^2 x}+\frac {b^4 p \log \left (a+b \sqrt {x}\right )}{2 a^4}-\frac {b^4 p \log (x)}{4 a^4}-\frac {\log \left (c \left (a+b \sqrt {x}\right )^p\right )}{2 x^2}-\frac {b p}{6 a x^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 2395
Rule 2454
Rubi steps
\begin {align*} \int \frac {\log \left (c \left (a+b \sqrt {x}\right )^p\right )}{x^3} \, dx &=2 \operatorname {Subst}\left (\int \frac {\log \left (c (a+b x)^p\right )}{x^5} \, dx,x,\sqrt {x}\right )\\ &=-\frac {\log \left (c \left (a+b \sqrt {x}\right )^p\right )}{2 x^2}+\frac {1}{2} (b p) \operatorname {Subst}\left (\int \frac {1}{x^4 (a+b x)} \, dx,x,\sqrt {x}\right )\\ &=-\frac {\log \left (c \left (a+b \sqrt {x}\right )^p\right )}{2 x^2}+\frac {1}{2} (b p) \operatorname {Subst}\left (\int \left (\frac {1}{a x^4}-\frac {b}{a^2 x^3}+\frac {b^2}{a^3 x^2}-\frac {b^3}{a^4 x}+\frac {b^4}{a^4 (a+b x)}\right ) \, dx,x,\sqrt {x}\right )\\ &=-\frac {b p}{6 a x^{3/2}}+\frac {b^2 p}{4 a^2 x}-\frac {b^3 p}{2 a^3 \sqrt {x}}+\frac {b^4 p \log \left (a+b \sqrt {x}\right )}{2 a^4}-\frac {\log \left (c \left (a+b \sqrt {x}\right )^p\right )}{2 x^2}-\frac {b^4 p \log (x)}{4 a^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 90, normalized size = 0.90 \[ \frac {-6 a^4 \log \left (c \left (a+b \sqrt {x}\right )^p\right )+a b p \sqrt {x} \left (-2 a^2+3 a b \sqrt {x}-6 b^2 x\right )+6 b^4 p x^2 \log \left (a+b \sqrt {x}\right )-3 b^4 p x^2 \log (x)}{12 a^4 x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 84, normalized size = 0.84 \[ -\frac {6 \, b^{4} p x^{2} \log \left (\sqrt {x}\right ) - 3 \, a^{2} b^{2} p x + 6 \, a^{4} \log \relax (c) - 6 \, {\left (b^{4} p x^{2} - a^{4} p\right )} \log \left (b \sqrt {x} + a\right ) + 2 \, {\left (3 \, a b^{3} p x + a^{3} b p\right )} \sqrt {x}}{12 \, a^{4} x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.18, size = 232, normalized size = 2.32 \[ -\frac {\frac {6 \, b^{5} p \log \left (b \sqrt {x} + a\right )}{{\left (b \sqrt {x} + a\right )}^{4} - 4 \, {\left (b \sqrt {x} + a\right )}^{3} a + 6 \, {\left (b \sqrt {x} + a\right )}^{2} a^{2} - 4 \, {\left (b \sqrt {x} + a\right )} a^{3} + a^{4}} - \frac {6 \, b^{5} p \log \left (b \sqrt {x} + a\right )}{a^{4}} + \frac {6 \, b^{5} p \log \left (b \sqrt {x}\right )}{a^{4}} + \frac {6 \, {\left (b \sqrt {x} + a\right )}^{3} b^{5} p - 21 \, {\left (b \sqrt {x} + a\right )}^{2} a b^{5} p + 26 \, {\left (b \sqrt {x} + a\right )} a^{2} b^{5} p - 11 \, a^{3} b^{5} p + 6 \, a^{3} b^{5} \log \relax (c)}{{\left (b \sqrt {x} + a\right )}^{4} a^{3} - 4 \, {\left (b \sqrt {x} + a\right )}^{3} a^{4} + 6 \, {\left (b \sqrt {x} + a\right )}^{2} a^{5} - 4 \, {\left (b \sqrt {x} + a\right )} a^{6} + a^{7}}}{12 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.05, size = 0, normalized size = 0.00 \[ \int \frac {\ln \left (c \left (b \sqrt {x}+a \right )^{p}\right )}{x^{3}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.65, size = 76, normalized size = 0.76 \[ \frac {1}{12} \, b p {\left (\frac {6 \, b^{3} \log \left (b \sqrt {x} + a\right )}{a^{4}} - \frac {3 \, b^{3} \log \relax (x)}{a^{4}} - \frac {6 \, b^{2} x - 3 \, a b \sqrt {x} + 2 \, a^{2}}{a^{3} x^{\frac {3}{2}}}\right )} - \frac {\log \left ({\left (b \sqrt {x} + a\right )}^{p} c\right )}{2 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.46, size = 72, normalized size = 0.72 \[ \frac {b^4\,p\,\mathrm {atanh}\left (\frac {2\,b\,\sqrt {x}}{a}+1\right )}{a^4}-\frac {\ln \left (c\,{\left (a+b\,\sqrt {x}\right )}^p\right )}{2\,x^2}-\frac {\frac {b\,p}{3\,a}-\frac {b^2\,p\,\sqrt {x}}{2\,a^2}+\frac {b^3\,p\,x}{a^3}}{2\,x^{3/2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________